package com.robot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.robot.common.result.PageResult;
import com.robot.dao.dto.BulkFileDTO;
import com.robot.dao.dto.BulkfilePageQueryDTO;
import com.robot.dao.entity.BulkFile;
import com.robot.dao.vo.FileOverViewVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface BulkFileService extends IService<BulkFile> {
    List<FileOverViewVO> uploadBulkFile(BulkFileDTO bulkfileDTO) throws IOException;
    BulkFile findFileByIds(String fileId, String robotId, String userId);
    String processFile(BulkFile bulkFile, MultipartFile file);
    boolean stopTask(String fileId);
    PageResult pageQueryfile(BulkfilePageQueryDTO oribulkFilePageQueryDTO);
}
